package com.zzy.factory.absfactory.pizzastore.order;

import com.zzy.factory.absfactory.pizzastore.pizza.Pizza;

public class Order {
    public static void main(String[] args) {
        AbsPizzaFactory factory = new OrderBJPizza();
        Pizza pizza = factory.createPizza("cheese");
        pizza.prepare();
        pizza.bake();
        pizza.cut();
        pizza.box();
    }
}
